package com.starinside.wp.service;

import com.starinside.wp.domain.liveRoom.LiveRoom;
import com.starinside.wp.foundation.DO.LiveRoomDO;
import com.starinside.wp.foundation.vo.BindedBabyVO;

import java.util.List;

public interface LiveRoomService {

    LiveRoom get(String id, String areaId);
    LiveRoom get(String id);

    List<LiveRoom> getAllValidLiveRoom(String[] childrenIds);

    List<LiveRoomDO> getAllValidLiveRoomDO(List<BindedBabyVO> babies);

    boolean childrenCameraValid(String appUserId, List<BindedBabyVO> babies);

    String getLiveRoomHLSAddress(LiveRoom liveRoom);

    void updateDate( String liveRoomId);

    Integer openLive(LiveRoom liveRoom);

    Integer openLive(String areaId, String liveRoomId);

//    Integer openLive( String liveRoomId)  throws Exception;
//
//    LiveRoom closeLive( String liveRoomId) throws Exception;

}
